package com.yitongmao.bean;

import java.util.List;

/*
* 作者：梁伟航 on 2017/8/13 15:27
* 类的用途：
*/
public class TsAdapterBean {

    /**
     * result : {"state":"1","code":"SUCCESS","url":null,"obj":null,"isRollBack":null,"message":"查询成功!"}
     * refundList : [{"id":230,"orderId":0,"code":null,"codePre":"2017","codeSuf":"5730007","transactionId":0,"orderCode":"20172762440007","userId":0,"isAuto":null,"type":null,"state":"00","createTime":"2017-08-13 15:18:24","updateTime":null,"version":0,"operatorId":null,"stateName":"审核中","serviceCode":"20172305730007","describe":"您的服务单号为20172305730007平台正在审核中","goodsIds":null,"asq":{"start":0,"page":1,"showNumber":6,"search":null,"params":{},"id":0,"afterSalesServiceId":0,"code":null,"content":null,"pic":null,"userId":null,"isUser":null,"createTime":null},"petName":null,"asr":{"id":0,"salesServiceId":0,"totalPrice":null,"returnPrice":null,"goodsOffPrice":null,"otherOffPrice":null,"isAllRefund":null},"orderGoods":[{"id":0,"goodsId":26,"num":0,"title":"【越南】红心火龙果","goodsThumb":"https://img14.360buyimg.com/n7/jfs/t3046/265/544746786/200600/37296076/57baa5beNc13e05df.jpg","price":null,"afterSalesServiceId":0,"refundState":null,"operatorId":null,"refundPrice":null}]}]
     */

    public ResultBean result;
    public List<RefundListBean> refundList;

    public static class ResultBean {
        /**
         * state : 1
         * code : SUCCESS
         * url : null
         * obj : null
         * isRollBack : null
         * message : 查询成功!
         */

        public String state;
        public String code;
        public Object url;
        public Object obj;
        public Object isRollBack;
        public String message;
    }

    public static class RefundListBean {
        /**
         * id : 230
         * orderId : 0
         * code : null
         * codePre : 2017
         * codeSuf : 5730007
         * transactionId : 0
         * orderCode : 20172762440007
         * userId : 0
         * isAuto : null
         * type : null
         * state : 00
         * createTime : 2017-08-13 15:18:24
         * updateTime : null
         * version : 0
         * operatorId : null
         * stateName : 审核中
         * serviceCode : 20172305730007
         * describe : 您的服务单号为20172305730007平台正在审核中
         * goodsIds : null
         * asq : {"start":0,"page":1,"showNumber":6,"search":null,"params":{},"id":0,"afterSalesServiceId":0,"code":null,"content":null,"pic":null,"userId":null,"isUser":null,"createTime":null}
         * petName : null
         * asr : {"id":0,"salesServiceId":0,"totalPrice":null,"returnPrice":null,"goodsOffPrice":null,"otherOffPrice":null,"isAllRefund":null}
         * orderGoods : [{"id":0,"goodsId":26,"num":0,"title":"【越南】红心火龙果","goodsThumb":"https://img14.360buyimg.com/n7/jfs/t3046/265/544746786/200600/37296076/57baa5beNc13e05df.jpg","price":null,"afterSalesServiceId":0,"refundState":null,"operatorId":null,"refundPrice":null}]
         */

        public int id;
        public int orderId;
        public Object code;
        public String codePre;
        public String codeSuf;
        public int transactionId;
        public String orderCode;
        public int userId;
        public Object isAuto;
        public Object type;
        public String state;
        public String createTime;
        public Object updateTime;
        public int version;
        public Object operatorId;
        public String stateName;
        public String serviceCode;
        public String describe;
        public Object goodsIds;
        public AsqBean asq;
        public Object petName;
        public AsrBean asr;
        public List<OrderGoodsBean> orderGoods;

        public static class AsqBean {
            /**
             * start : 0
             * page : 1
             * showNumber : 6
             * search : null
             * params : {}
             * id : 0
             * afterSalesServiceId : 0
             * code : null
             * content : null
             * pic : null
             * userId : null
             * isUser : null
             * createTime : null
             */

            public int start;
            public int page;
            public int showNumber;
            public Object search;
            public ParamsBean params;
            public int id;
            public int afterSalesServiceId;
            public Object code;
            public Object content;
            public Object pic;
            public Object userId;
            public Object isUser;
            public Object createTime;

            public static class ParamsBean {
            }
        }

        public static class AsrBean {
            /**
             * id : 0
             * salesServiceId : 0
             * totalPrice : null
             * returnPrice : null
             * goodsOffPrice : null
             * otherOffPrice : null
             * isAllRefund : null
             */

            public int id;
            public int salesServiceId;
            public Object totalPrice;
            public Object returnPrice;
            public Object goodsOffPrice;
            public Object otherOffPrice;
            public Object isAllRefund;
        }

        public static class OrderGoodsBean {
            /**
             * id : 0
             * goodsId : 26
             * num : 0
             * title : 【越南】红心火龙果
             * goodsThumb : https://img14.360buyimg.com/n7/jfs/t3046/265/544746786/200600/37296076/57baa5beNc13e05df.jpg
             * price : null
             * afterSalesServiceId : 0
             * refundState : null
             * operatorId : null
             * refundPrice : null
             */

            public int id;
            public int goodsId;
            public int num;
            public String title;
            public String goodsThumb;
            public Object price;
            public int afterSalesServiceId;
            public Object refundState;
            public Object operatorId;
            public Object refundPrice;
        }
    }
}
